<template>
  <!-- 头部导航 -->
  <div class="topNav">
    <div class="topLeft">
      <span class="iconfont icon-31liebiao"></span>
    </div>
    <div class="topCenter">
      <span class="navBtn" @click="$router.push('/me')">我的</span>
      <span class="navBtn active">发现</span>
      <span class="navBtn">云村</span>
      <span class="navBtn">视频</span>
    </div>
    <div class="topRight">
      <span
        class="iconfont icon-sousuo"
        @click="$router.push('/search')"
      ></span>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {};
  },
};
</script>

<style lang="less" scoped>
.topNav {
  width: 7.5rem;
  height: 1rem;
  padding: 0 0.2rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  .iconfont {
    font-size: 0.4rem;
  }
  .topCenter {
    width: 4.5rem;
    display: flex;
    justify-content: space-around;
    .active {
      font-weight: bold;
    }
  }
}
</style>
